|
hbridge18 2.2.1
|
This file contains API for H-Bridge 18 Click Driver. More...
#include "drv_digital_out.h"#include "drv_digital_in.h"#include "drv_spi_master.h"#include "spi_specifics.h"Go to the source code of this file.
Data Structures | |
| struct | hbridge18_t |
| H-Bridge 18 Click context object. More... | |
| struct | hbridge18_cfg_t |
| H-Bridge 18 Click configuration object. More... | |
Enumerations | |
| enum | hbridge18_return_value_t { HBRIDGE18_OK = 0 , HBRIDGE18_ERROR = -1 } |
| H-Bridge 18 Click return value data. More... | |
Functions | |
| void | hbridge18_cfg_setup (hbridge18_cfg_t *cfg) |
| H-Bridge 18 configuration object setup function. | |
| err_t | hbridge18_init (hbridge18_t *ctx, hbridge18_cfg_t *cfg) |
| H-Bridge 18 initialization function. | |
| err_t | hbridge18_default_cfg (hbridge18_t *ctx) |
| H-Bridge 18 default configuration function. | |
| err_t | hbridge18_write_reg (hbridge18_t *ctx, uint8_t reg, uint8_t data_in) |
| H-Bridge 18 write register function. | |
| err_t | hbridge18_read_reg (hbridge18_t *ctx, uint8_t reg, uint8_t *data_out) |
| H-Bridge 18 read register function. | |
| void | hbridge18_enable_device (hbridge18_t *ctx) |
| H-Bridge 18 enable device function. | |
| void | hbridge18_disable_device (hbridge18_t *ctx) |
| H-Bridge 18 disable device function. | |
| uint8_t | hbridge18_get_fault_pin (hbridge18_t *ctx) |
| H-Bridge 18 get fault pin function. | |
| err_t | hbridge18_check_communication (hbridge18_t *ctx) |
| H-Bridge 18 check communication function. | |
| err_t | hbridge18_set_motor_state (hbridge18_t *ctx, uint8_t motor, uint8_t state) |
| H-Bridge 18 set motor state function. | |
This file contains API for H-Bridge 18 Click Driver.